package com.plian.system.dto.om.monitor;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @description:
 * @author: takeoff
 * @create: 2022/4/12 上午11:24
 */
@Data
@ApiModel("填报监控结果 DTO类")
public class MonitorQuery implements Serializable {

    @ApiModelProperty(value = "查询月份")
    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM")
    private Date month;

    @ApiModelProperty(value = "类型")
    private Integer type;
}
